<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div style="width: 100px;height: 100px;background-color: pink;">
	</body>
	<script type="text/javascript">
		var div = document.getElementsByTagName("div")[0];
		div.onmouseover = function(){
			div.style.width = "200px";
			div.style.height = "200px";
			div.style.backgroundColor = "black";
			div.style.opacity = "0.2";
			div.style.filter = "alpha(opacity=20)";
		}
	</script>
</html>
